<?php

// +----------------------------------------------------------------------
// | OneThink [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.onethink.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: 麦当苗儿 <zuojiazi@vip.qq.com> <http://www.zjzit.cn>
// +----------------------------------------------------------------------

/**
 * UCenter客户端配置文件
 * 注意：该配置文件请使用常量方式定义
 */
define('UC_APP_ID', 1); //应用ID
define('UC_API_TYPE', 'Model'); //可选值 Model / Service
define('UC_AUTH_KEY', 'mfkFu*]BaoCV=TiYLUGy)H^[S0@$+1R?lden-4~('); //加密KEY

$host = C('DB_HOST');
$name = C('DB_NAME');
$user = C('DB_USER');
$pwd = C('DB_PWD');
$port = C('DB_PORT');
$prefix = C('DB_PREFIX');

define('UC_DB_DSN', "mysql://$user:$pwd@$host:$port/$name"); // 数据库连接，

define('UC_TABLE_PREFIX', $prefix); // 数据表前缀，使用Model方式调用API必须配置此项